﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="viewAllMatches.aspx.cs" Inherits="WebApplication1.viewAllMatches" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <asp:GridView ID="gvAllMatches" runat="server" AutoGenerateColumns="False" 
        BackColor="White" BorderColor="#336666" BorderStyle="Double" BorderWidth="3px" 
        CellPadding="4" GridLines="Horizontal" Width="651px">
        <RowStyle BackColor="White" ForeColor="#333333" />
        <Columns>
            <asp:HyperLinkField HeaderText="All the matches of Team(s)" 
                DataNavigateUrlFields="NavigateUrl" DataTextField="MatchName" />
        </Columns>
        <FooterStyle BackColor="White" ForeColor="#333333" />
        <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
    </asp:GridView>
<table>

<tr>
    <td>
        <asp:Button ID="btnAllMatchFirst" runat="server" style="margin-left: 0px" 
            Text="First" Width="60px" CommandName="First" OnCommand="ChangePage"/>
        <asp:Button ID="btnAllMatchPrev" runat="server" Text="Previous" CommandName="Previous" OnCommand="ChangePage"/>
        <asp:Button ID="btnAllMatchNext" runat="server" Text="Next" Width="68px" CommandName="Next" OnCommand="ChangePage"/>
        <asp:Button ID="btnAllMatchLast" runat="server" Text="Last" Width="63px" CommandName="Last" OnCommand="ChangePage"/>
        </td>
    </tr>
     <tr>
    <td>&nbsp;</td>
    </tr>
     <tr>
    <td>
        <asp:Label ID="lblAllMatchPage" runat="server"></asp:Label>
        <asp:Label ID="lblAllMatchCurrPage" runat="server"></asp:Label>
        <asp:Label ID="lblAllMatchOf" runat="server"></asp:Label>
        <asp:Label ID="lblAllMatchTotalPage" runat="server"></asp:Label>
         </td>
    </tr>
<tr>
<td>
    <asp:HyperLink ID="HyperLink2" runat="server" 
        NavigateUrl="~/viewAllMatches.aspx">View all matches of all Teams</asp:HyperLink>
    </td>
</tr>

</table>
</asp:Content>
